//
//  ViewController.swift
//  YDAlgorithm
//
//  Created by wangyd on 2020/11/10.
//

import UIKit

class ViewController: UIViewController {

    var number: Int = 1
    
    let fibonacciSequence = YDFibonacciSequence()
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
    
    }
    
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        number = number + 5
        fibonacciSequence.fibonacciSequence(num: number)
    }


}

